﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="Bookmark" href="/favicon.ico" >
<link rel="Shortcut Icon" href="/favicon.ico" />
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>Jbus Admin</title>
<meta name="keywords" content="Jbus透传服务器－监视">
<meta name="description" content="Jbus透传服务器－监视">
</head>
<body>
<header class="navbar-wrapper">
	<div id="app" class="navbar navbar-fixed-top">
		<div class="container-fluid cl">
			<a href="index.html" class="logo navbar-logo f-l mr-10 hidden-xs" >Jbus Admin</a>
			<a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>

		<nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
			<ul class="cl">
				<li class="dropDown dropDown_hover">
						<a href="#" class="dropDown_A">{{account}} <i class="Hui-iconfont">&#xe6d5;</i></a>
						<ul class="dropDown-menu menu radius box-shadow">
							<li><a @click="logout">注销</a></li>
					</ul>
				</li>

			</ul>
		</nav>
	</div>
</div>
</header>
<aside class="Hui-aside">
	<div class="menu_dropdown bk_2">
		<dl id="menu-article">
			<dt>
				<i class="Hui-iconfont">&#xe616;</i>
				<a data-href="app/sessionInfo.html" data-title="会话信息" href="javascript:void(0)">会话信息</a>
			</dt>
		</dl>
		<dl id="menu-article">
			<dt>
				<i class="Hui-iconfont">&#xe616;</i>
				<a data-href="app/deviceInfo.html" data-title="设备信息" href="javascript:void(0)">设备信息</a>
			</dt>
		</dl>
		<dl id="menu-article">
			<dt>
				<i class="Hui-iconfont">&#xe616;</i>
				<a data-href="app/mqttInfo.html" data-title="MQTT信息" href="javascript:void(0)">MQTT信息</a>
			</dt>
	</dl>
</div>
</aside>
<div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
<section class="Hui-article-box">
	<div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
		<div class="Hui-tabNav-wp">
			<ul id="min_title_list" class="acrossTab cl">
				<li class="active">
					<span title="控制台" data-href="app/dashboard.html">控制台</span>
					<em></em></li>
		</ul>
	</div>
		<div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
</div>
	<div id="iframe_box" class="Hui-article">
		<div class="show_iframe">
			<div style="display:none" class="loading"></div>
			<iframe scrolling="yes" frameborder="0" src="app/dashboard.html"></iframe>
	</div>
</div>
</section>

<div class="contextMenu" id="Huiadminmenu">
	<ul>
		<li id="closethis">关闭当前 </li>
		<li id="closeall">关闭全部 </li>
</ul>
</div>

<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
<script type="text/javascript" src="lib/jquery.contextmenu/jquery.contextmenu.r2.js"></script>

<script type="text/javascript" src="app/common/constant.js"></script>
<script type="text/javascript" src="app/common/common.js"></script>
<script type="text/javascript">
$(function(){
		var appId = localStorage.appId;
		var appToken = localStorage.appToken;

		if (!appId || !appToken) {
			//if (confirm("登录信息已失效，是否转到登录页面？")) {
				moveToLogin();
			//}
		}
});


var app = new Vue({
  el: '#app',
  data: {
		account:localStorage.account
	},
	methods:{
		logout:function(){
			localStorage.clear();
			moveToLogin();
		}
	}
});

</script>

</body>
</html>
